package ;
import flash.display.Bitmap;
import flash.geom.Point;

enum Direction
{
	DOWN; LEFT; RIGHT; UP;
}

/**
 * ...
 * @author ... Marcelo Ruben Guardia
 */
class GC
{
	public static var TILE_H:Float = 32.0;	
	public static var TILE_W:Float = 32.0;
	public static var G:Float = 30;// 9.81;

	// tileset
	public static var IMG_tileset:Dynamic = "gfx/tileset.png";	

	// sprites
	public static var IMG_toki_juju:Dynamic = "gfx/toki_juju.png";
	public static var IMG_explosion:Dynamic = "gfx/explosion.png";
	public static var IMG_tnt:Dynamic = "gfx/tnt.png";
	
	// sonidos
	public static var SND_boom:Dynamic = "audio/boom.mp3";
	public static var SND_explosion:Dynamic = "audio/explosion.mp3";
	public static var SND_gameplay:Dynamic = "audio/chiptune3.mp3";
	
	static public function GetRadian(angle:Float):Float
	{
		return ((180 - angle) * Math.PI / 180);
	}
	
	static public function GetDegrees(angle:Float):Float
	{
		return (((angle * 180) / Math.PI) + 180);
	}
}